﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MixScript.BLL.FI;
using System.Data;


namespace MixScriptWeb.Accounting.ReportObject
{
    public partial class rpt_COGS : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            String PeriodName = Convert.ToString(Session["PeriodName"]);
            String PeriodID = Convert.ToString(Session["PeriodID"]);
            String CUR = Convert.ToString(Session["CUR"]);

            lbldate.Text = PeriodName;
            lblPeriod.Text = CUR;
            Report rpt = new Report();
            gvList.DataSource = rpt.getCOGS(CUR, PeriodID);
            gvList.DataBind();
 
        }
    }
}